//
// Created by chnlich on 6/28/15.
//

#include "atomic_lib.h"

int32_t key_strcmp(const char*s0, const char*s1, int32_t length)
{
	int32_t i;
	for(i=0;i<length;i++) {
		if (s0[i] < s1[i])
			return -1;
		if (s0[i]>s1[i])
			return 1;
	}
	return 0;
}
